package com.xyoto.community.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author: 廖振辉
 * Date: 2021/11/17
 * Description: 校园咨询展示vo
 */
@Data
@ApiModel("校园咨询展示vo")
@NoArgsConstructor
public class CampusNewsFlashVO {

    @ApiModelProperty("快讯id")
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("跳转连接")
    private String link;

    public CampusNewsFlashVO(Integer id, String title, String link) {
        this.id = id;
        this.title = title;
        this.link = link;
    }
}
